<%-- 
    Document   : test
    Created on : 19.6.2014, 22:56:49
    Author     : Michal Ďuriš
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../jspf/resources.jspf" %>
        
        <title>Testovacie dáta</title>
    </head>
    <body>

        <%@include file="../jspf/header.jspf" %>

        <fieldset>
            <legend>Test - String:</legend>
            ${testString}
        </fieldset>

        <fieldset>
            <legend>Test - dátum:</legend>
            ${testDate}
        </fieldset>

        <fieldset>
            <legend>Test - zoznam:</legend>
            <c:forEach items="${testList}" var="listItem" >
                ${listItem} <br />
            </c:forEach>
        </fieldset>

        <fieldset>
            <legend>Test - mapa (klúč -> hodnota):</legend>
            <c:forEach items="${testMap}" var="mapEntry" >
                ${mapEntry.key} -> ${mapEntry.value} <br />
            </c:forEach>
        </fieldset>

        <%@include file="../jspf/footer.jspf" %>

    </body>
</html>
